package day3;

public class zuoye3 {
	public static void main(String[] args) {
		int jishu = 0;
		int oushu = 0;

		for (int i = 1; i <= 100; i++) {

			if (i % 2 == 0) {

				oushu = oushu + i;
			} else {
				jishu = jishu + i;
			}
		}
		System.out.println(jishu);
		System.out.println(oushu);
	}
}
